package cc.greencat.gcmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 秒杀活动商品关联
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:49:35
 */
@TableName("sec_kill_sku_relation")
public class SecKillSkuRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 活动id
	 */
	private Long promotionId;
	/**
	 * 活动场次id
	 */
	private Long promotionSessionId;
	/**
	 * 商品id
	 */
	private Long skuId;
	/**
	 * 秒杀价格
	 */
	private BigDecimal secKillPrice;
	/**
	 * 秒杀总量
	 */
	private BigDecimal secKillCount;
	/**
	 * 每人限购数量
	 */
	private BigDecimal secKillLimit;
	/**
	 * 排序
	 */
	private Integer secKillSort;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 活动id
	 */
    public void setPromotionId(Long promotionId){
        this.promotionId = promotionId;
    }
    /**
	 * get 活动id
	 */
    public Long getPromotionId(){
        return this.promotionId;
    }
	/**
	 * set 活动场次id
	 */
    public void setPromotionSessionId(Long promotionSessionId){
        this.promotionSessionId = promotionSessionId;
    }
    /**
	 * get 活动场次id
	 */
    public Long getPromotionSessionId(){
        return this.promotionSessionId;
    }
	/**
	 * set 商品id
	 */
    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }
    /**
	 * get 商品id
	 */
    public Long getSkuId(){
        return this.skuId;
    }
	/**
	 * set 秒杀价格
	 */
    public void setSecKillPrice(BigDecimal secKillPrice){
        this.secKillPrice = secKillPrice;
    }
    /**
	 * get 秒杀价格
	 */
    public BigDecimal getSecKillPrice(){
        return this.secKillPrice;
    }
	/**
	 * set 秒杀总量
	 */
    public void setSecKillCount(BigDecimal secKillCount){
        this.secKillCount = secKillCount;
    }
    /**
	 * get 秒杀总量
	 */
    public BigDecimal getSecKillCount(){
        return this.secKillCount;
    }
	/**
	 * set 每人限购数量
	 */
    public void setSecKillLimit(BigDecimal secKillLimit){
        this.secKillLimit = secKillLimit;
    }
    /**
	 * get 每人限购数量
	 */
    public BigDecimal getSecKillLimit(){
        return this.secKillLimit;
    }
	/**
	 * set 排序
	 */
    public void setSecKillSort(Integer secKillSort){
        this.secKillSort = secKillSort;
    }
    /**
	 * get 排序
	 */
    public Integer getSecKillSort(){
        return this.secKillSort;
    }

}
